package tech.waterism.model.dto;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 月潜在蒸散发量 (PET - Potential Evapotranspiration)
 * 
 * <p>表示某个月份的潜在蒸散发能力</p>
 * 
 * @author 高宇
 * @since 2025-11-13
 */
public class MonthlyPET {
    
    /** 月份 (1-12) */
    @JsonProperty("month")
    private Integer month;
    
    /** 月份英文名 (可选) */
    @JsonProperty("monthName")
    private String monthName;
    
    /** 潜在蒸散发量 (mm) */
    @JsonProperty("pet")
    private Double pet;

    public MonthlyPET() {
    }

    public MonthlyPET(Integer month, String monthName, Double pet) {
        this.month = month;
        this.monthName = monthName;
        this.pet = pet;
    }

    public Integer getMonth() {
        return month;
    }

    public void setMonth(Integer month) {
        this.month = month;
    }

    public String getMonthName() {
        return monthName;
    }

    public void setMonthName(String monthName) {
        this.monthName = monthName;
    }

    public Double getPet() {
        return pet;
    }

    public void setPet(Double pet) {
        this.pet = pet;
    }

    @Override
    public String toString() {
        return "MonthlyPET{" +
                "month=" + month +
                ", monthName='" + monthName + '\'' +
                ", pet=" + pet +
                '}';
    }
}
